import { ColumnProps } from '~/library/components/ProTable/interface'
import { Procure } from '~/src/api/interface/procure'

export const commonTypesColumns: ColumnProps<Procure.BreakageResult>[] = [
  { type: 'selection', width: 60 },
  { type: 'index', label: '序号', width: 80 },
  { sortable: true, prop: 'customeCode', label: '编码', align: 'left' },
  { sortable: true, prop: 'name', label: '名称', align: 'left' },
  { sortable: true, prop: 'commTypeName', label: '通用类型', align: 'left' },
  // {
  //   prop: "status",
  //   label: "状态",
  //   enum: generalStatus,
  //   minWidth: 120,
  //   align: "left",
  //   search: { el: "select", props: { filterable: true } }
  // },
  // { prop: "contact", label: "联系人",  align: "left" },
  // { prop: "mobile", label: "手机号", minWidth: 160, align: "left" },
  // { prop: 'operation', label: '操作', fixed: 'right' },
]
